/**
 * @Author: 肖科
 * @Date: 2019/11/13
 * @Last Modified by:   肖科
 * @Last Modified time: 2019-11-13 09:45:00
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询维修案例
export const queryRepairCase = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/caseQuery/searchRepairCase`, { params });

// 查询车系
export const getSeries = params =>
  axios.get(`${SERVER.DMSCLOUD_REPAIR}/baseData/basicData/series`, {
    params
  });

// 查询故障部位
export const getDaultPosition = params =>
  axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/caseQuery/queryDaultPosition`, {
    params
  });

// 查询缺陷类型
export const getDefectType = params =>
  axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/caseQuery/queryefectType`, {
    params
  });
